/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.pointslottery.entity;


import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 积分商品Entity
 * @author w
 * @version 2021-03-11
 */
public class PointsLottery extends DataEntity<PointsLottery> {
	
	private static final long serialVersionUID = 1L;
	private String integralName;		// 名称
	private String integralPic;		// 图片
	private Double integralPrice;		// 费用
	private Integer integralMember;		// 剩余份数
	private String isEnd;		// 出售是否完成(0否1是)
	private Double price;       //原价
	private String isPrize;     //是否开奖（0否1是）

	private Integer originalAmount;   //初始份数

	private String imgs;   //详情图
	
	public PointsLottery() {
		super();
	}

	public PointsLottery(String id){
		super(id);
	}

	@ExcelField(title="名称", align=2, sort=1)
	public String getIntegralName() {
		return integralName;
	}

	public void setIntegralName(String integralName) {
		this.integralName = integralName;
	}
	
	@ExcelField(title="图片", align=2, sort=2)
	public String getIntegralPic() {
		return integralPic;
	}

	public void setIntegralPic(String integralPic) {
		this.integralPic = integralPic;
	}
	
	@ExcelField(title="费用", align=2, sort=3)
	public Double getIntegralPrice() {
		return integralPrice;
	}

	public void setIntegralPrice(Double integralPrice) {
		this.integralPrice = integralPrice;
	}
	
	@ExcelField(title="剩余份数", align=2, sort=4)
	public Integer getIntegralMember() {
		return integralMember;
	}

	public void setIntegralMember(Integer integralMember) {
		this.integralMember = integralMember;
	}
	
	@ExcelField(title="出售是否完成(0否1是)", dictType="yes_no", align=2, sort=11)
	public String getIsEnd() {
		return isEnd;
	}

	public void setIsEnd(String isEnd) {
		this.isEnd = isEnd;
	}

	@ExcelField(title="原价", align=2, sort=12)
	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	@ExcelField(title="是否开奖", dictType="yes_no", align=2, sort=13)
	public String getIsPrize() {
		return isPrize;
	}

	public void setIsPrize(String isPrize) {
		this.isPrize = isPrize;
	}

	public Integer getOriginalAmount() {
		return originalAmount;
	}

	public void setOriginalAmount(Integer originalAmount) {
		this.originalAmount = originalAmount;
	}


	public String getImgs() {
		return imgs;
	}

	public void setImgs(String imgs) {
		this.imgs = imgs;
	}
}